CXX = g++

INC = -I../../inc -I$(ROOTSYS)/include
OBJ = ../../obj
OBJS = $(OBJ)/Global.o

ROOTLIBS = `root-config --libs` 
RUDELIBS = -L/usr/lib/ -lrudeconfig

LIBS = $(ROOTLIBS) $(RUDELIBS)

all: ./TelCheck.cxx
	$(CXX) $(INC) $(LIBS) $(OBJS) $^ -o tel
